//点击注册跳转注册页面 
function tz() {
    location.href = './login2.html'
}

function dl() {
    let box1 = document.querySelector('input[placeholder="请输入账号"]')
    let box2 = document.querySelector('input[placeholder="请输入密码"]')
    let mm = JSON.parse(localStorage.getItem("BOX"))
    if (box1.value == mm.usernime && box2.value == mm.password) {
        location.href = './index.html'
    } else {
        alert('登录账号失败')
    }
}